/*
 *  boardData.h
 *  Maciago
 *
 *  Created by mmarcos on Mon Aug 06 2001.
 *  Copyright (c) 2001 __CompanyName__. All rights reserved.
 *
 */

#import <Foundation/Foundation.h>

#import "globals.h"
#import "board_data.h"

@interface BoardData : NSObject
{
    int size;
    char *data;
    int auxX, auxY;
}

- init;
- (id)initWithSize:(int)size;
- (id)initWithSize:(int)newSize data:(char *)newData;
- (int)getSize;
- (char)getValueAtX:(int)x y:(int)y;
- (BOOL)setValue:(char)value atX:(int)x y:(int)y;
- (int)numberOfBlacks;
- (int)numberOfWhites;
- (void)auxDataX:(int *)outX y:(int *)outY;
- (void)setAuxDataX:(int)inX y:(int)inY;
- (void)clear;
- (void)dealloc;
- (id)copy;
- (struct board_data *)board_data;
- (void)set_board_data: (struct board_data *)bd;

@end